﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Pointandclick.Objects
{
    class Pickable : Clickable
    {

        string key;

        public Pickable(Texture2D image, Point position, string key)
            : base(image, position)
        {
            this.key = key;
        }

        public new string Update()
        {
            if (base.Update())
                return key;
            return "";
        }

        public new void Draw(SpriteBatch spriteBatch, Color color)
        {
            base.Draw(spriteBatch, color);
        }

    }
}
